import { useStore } from 'vuex'
import axios from './0_http'

export const doLogin = data =>
  axios.post('/user/login',data)

export const getHomeData = params =>
  axios.get('/home/data',{params})

export const getWarning = () =>
  axios.get('/warning/info')

export const getCarList = () =>
  axios.get('/car/list')

export const getPoints = () =>
  axios.get('/points/list')

export const getStaList = () =>
  axios.get('/get/stalist')

export const loadApi = () =>
  axios.get('/load/load')

